package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tan
 * @since 2024-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_SALARY_NEW_DETAIL")
@ApiModel(value="PcSalaryNewDetail对象", description="")
public class PcSalaryNewDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private String companyId;

    private String yyyymm;

    private String workerId;

    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate beginDate;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate endDate;

    private String workType;

    private String calcType;

    private BigDecimal basicSalary;

    private BigDecimal workDays;

    private BigDecimal salary;

    private String idNo;

}
